Added n98-magerun2 command to CLI containers#346
Open
MagicLegend wants to merge 1 commit intomagento:developfrom
Open
Added n98-magerun2 command to CLI containers#346MagicLegend wants to merge 1 commit intomagento:developfrom
MagicLegend wants to merge 1 commit intomagento:developfrom
Conversation
Author
|
Potential issues I've found during usage:
Here I had left query logging enabled: Disabling query logging fixed the issue. This appeared to happen after a cache flush and before a Manually running Due to the container executing Can we do something about the permissions this user has on the |
Functional Acceptance Test Results✅ All functional acceptance tests have passed. PHP 7.2
PHP 7.3
PHP 7.4
PHP 8.1
This comment was generated by Jenkins job magento-cloud-docker/functional build 126. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the N98-Magerun2 binary to the CLI containers to be used during development. Magerun can be ran in a similar fashion as the other commands.
Fixed Issues (if relevant)
Manual testing scenarios
E.g. in the
images/php/7.4-clifolder:docker build --tag magento/magento-cloud-docker-php:7.4-cli-1.3.2-magerun .docker run --rm magento/magento-cloud-docker-php:7.4-cli-1.3.2-magerun magerun2 listIt should output the list of possible commands. I have noticed that for me it was required to force ANSI output with the
--ansiflag; is this only on my machine, or reproducible across the board? If the latter we should consider updating themagerun2command to always pass the--ansiflag.I have tested the
7.2-cli,7.3-cliand7.4-clicontainers. I might have missed some incompatibility somewhere.Release notes
Associated documentation updates
If this change will be accepted I will do the digging in the DevDocs to add references to this functionality to it.
Contribution checklist